<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<title>
更新操作
</title>
</head>
<body>
修改一条学生记录<br><br>
<form name="inputForm" action="data?type=studentUpdateSave" method="post">
<input type="hidden" name="stuId" value="${student.stuId}"/>
<table align="center">
<tr>
<td>姓名</td>
<td><input type="text" name="stuName" value="${student.stuName}"></td>
</tr>
<tr>
<td>班级</td>
<td><input type="text" name="stuClass" value="${student.stuClass}"></td>
</tr>
<td>专业</td>
<td><input type="text" name="stuSpecial" value="${student.stuSpecial}"></td>
</tr>
<td>年龄</td>
<td><input type="text" name="age" value="${student.age}"></td>
</tr>
<tr>
<td>性别</td>
<td>
<c:choose>
<c:when test="${student.gender=='男'}">
<input type="radio" name="gender" value="男" checked>男
<input type="radio" name="gender" value="女">女
</c:when>
<c:when test="${student.gender=='女'}">
<input type="radio" name="gender" value="男">男
<input type="radio" name="gender" value="女" checked>女
</c:when>
</c:choose>
</td>
</tr>
<tr>
<td>
<input type="submit">提交
<input type="reset">重置
</td>
</tr>
</table>
</form>
</body>
</html>